package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetOneYearRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetOneYearPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetOneYearDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetOneYearDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetOneYearDomainImpl extends BaseDomainImpl<BudgetOneYearDto, BudgetOneYearPo> implements BudgetOneYearDomain {

    @Resource
    private BudgetOneYearRepository budgetOneYearRepository;

    @Override
    public BaseRepository<BudgetOneYearPo> getMapper() {
        return budgetOneYearRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetOneYearPo>> getRepositoryClass() {
        return BudgetOneYearRepository.class;
    }

}
